#pragma once
#include <iostream>

class base
{
public:
	base(void);
	~base(void);
	virtual void print(){std::cout << "in base";}
};

class derived : public base {
public:
	void print(){std::cout << "in derived";}
};